package com.creaylei.stock.service;

import com.creaylei.stock.dto.ExportQueryDto;
import com.creaylei.stock.po.StockPo;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * @Author zhang lei
 * @Date 2022-02-28 11:14
 */
public interface WeeklyService {
    /**
     * 查询每周的数据
     * @param codes
     * @return
     */
    List<StockPo> queryNewestInfo(List<String> codes, Double exchange, Integer cash) throws IOException;

    void export(HttpServletResponse response, ExportQueryDto exportQueryDto);
}
